import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home/Home.vue'

Vue.use(VueRouter)
// eslint-disable-next-line no-unused-vars
const routes = [
  {
    path: '/',
    redirect: '/Home'
  },
  {
    path: '/Home',
    // eslint-disable-next-line no-undef
    component: Home,
    meta: {
      title: 'home'
    }
  }
]
const router = new VueRouter({
  routes
})

export default router
